#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    bool canAliceWin(vector<int>& nums) {
        int ten = 0, unit = 0;
        for (auto num : nums)
        {
            num / 10 > 0 ? ten += num : unit += num;
        }
        return unit != ten;
    }
};